home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / tpega.zip / GPFLOOD.P < prev    next >
Text File  |  1986-02-01  |  1KB  |  19 lines

  1. {                                                                             }
  2. {       EGA Graphic Primitive for Turbo Pascal 3.01A, Version 01FEB86.        }
  3. {       (C) 1986 by Kent Cedola, 2015 Meadow Lake Ct., Norfolk, VA, 23518     }
  4. {                                                                             }
  5. {       Description: Set the current style for line drawing primitives.       }
  6. {       Setting the shading will set the shading flag on and setting the      }
  7. {       current color will reset it zero. If the shading flag is zero then    }
  8. {       the current color will be used, else the line style.                  }
  9. {                                                                             }
  10.  
  11. procedure GPFLOOD1(x1,x2,y1,y2,sadr,flg: Integer; var shade; merge,color,
  12.                    x,y,bc: Integer); external 'GPFLOOD.BIN';
  13.  
  14. procedure GPFLOOD(color: Integer);
  15. begin
  16.   GPFLOOD1(GDVW_X1,GDVW_X2,GDVW_Y1,GDVW_Y2,GDGSADR,GDS_FLG,GDSHADE1,GDMERGE,
  17.            GDCOLOR,GDCUR_X,GDCUR_Y,color);
  18. end;
  19.